<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>demo5模板语法-指令</title>
  <script src="./js/vue.min.js"></script>

</head>

<body>
   <div id="app">
     <label for="r1">是否显示</label><input type="checkbox" v-model="seen" id="r1">
      <p v-if="seen"> 现在你能看到我了</p>
   </div>
   <script type="application/javascript">
     var vm = new Vue({
       el: "#app",
       data: {
         seen: true,
       }
     });


   </script>
</body>

</html>
